# 用于存放各种cache数据
cache = {}


def set_cache(key, value):
    cache[key] = value
    pass


def get_cache(key, default_value=None):
    if key not in cache:
        return default_value
    return cache[key]
    pass
